"""Script to run all existing unit tests."""

import glob
import os
import unittest

suite = unittest.TestSuite()
tests = [test[:-3] for test in glob.glob('*_unittest.py')]

for test in tests:
  module = __import__(test)
  suite.addTest(unittest.TestLoader().loadTestsFromModule(module))

if __name__ == '__main__':
  unittest.TextTestRunner(verbosity=1).run(suite)
